<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="UpdateProfile.aspx.vb" Inherits="GTSWeb_UpdateProfile" title="GTS Frieght Management System"  MaintainScrollPositionOnPostback="true" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder" Runat="Server">
    <h3>Your Profile Information</h3>
    
    <asp:Panel id="ProfileContent" runat=server>
        <table>
            <tr>
                <td style="width: 133px; height: 26px; text-align: right;">
                    Last Name&nbsp;
                </td>
                <td style="width: 260px; height: 26px">
                    <asp:TextBox ID="txtLastName" runat="server" Width="199px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtLastName"
                        ErrorMessage="*" Width="6px"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 133px; text-align: right;">
                    First Name&nbsp;
                </td>
                <td style="width: 260px">
                    <asp:TextBox ID="txtFirstName" runat="server" Width="199px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtFirstName"
                        ErrorMessage="*" Width="5px"></asp:RequiredFieldValidator></td>
            </tr>
            <tr>
                <td style="width: 133px; text-align: right;">
                    Email&nbsp;
                </td>
                <td style="width: 260px">
                    <asp:TextBox ID="txtEmail" runat="server" Width="199px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtEmail"
                        ErrorMessage="*" Width="7px"></asp:RequiredFieldValidator>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                        ErrorMessage="*" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator></td>
            </tr>
            <tr>
                <td style="width: 133px; height: 24px; text-align: right;">
                    Base Location&nbsp;
                </td>
                <td style="width: 260px; height: 24px">
                    <asp:DropDownList ID="ddlRateLocation" runat="server" DataSourceID="BaseLocationdataSource"
                        DataTextField="City" DataValueField="RateLocationID" Width="204px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <asp:Label ID="lblMessage" runat="server" Width="381px"></asp:Label></td>
            </tr>
            <tr>
                <td colspan="2" style="text-align: right">
                    <asp:Button ID="btnUpdateProfile" runat="server" Text="Update Profile" Width="129px" /></td>
            </tr>
        </table>
        <a href="../NEWPAGES/ClientManage.aspx"></a></asp:panel>
    <asp:ObjectDataSource ID="BaseLocationdataSource" runat="server" OldValuesParameterFormatString="original_{0}"
        SelectMethod="GetRateLocation" TypeName="GTSSystem.BLL.RateLocation">
        <SelectParameters>
            <asp:ProfileParameter Name="BranchID" PropertyName="BranchId" Type="Int32" />
        </SelectParameters>
    </asp:ObjectDataSource>
 
    
</asp:Content>

